import { Dayjs } from "dayjs";
import { CSSProperties } from "react";

type DateType = Dayjs | null;

export interface TimePickerProps {
  value?: DateType;
  defaultValue?: DateType;
  onChange?: (value: DateType, formatString?: string) => void;
  placeholder?: string;
  allowClear?: boolean;
  disabled?: boolean;
  style?: CSSProperties;
  className?: string;
  format?: string;
  showNow?: boolean;
}
